package com.zst.common.buffer.partition;

public class ThreadPartitioner implements Partitioner {
    @Override
    public int partition(int max) {
        return (int) (Thread.currentThread().getId() % max);
    }
}
